package org.example.cloud.entities;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author 宋孟林
 * @description
 * @date: 2025/4/12 7:23
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Storage implements Serializable {
    private Long id;
    private Long productId;
    //总库存
    private Integer total;
    //已使用的库存
    private Integer used;
    //剩余库存
    private Integer residue;
}
